package com.appbee.core.client.startup.links;

import com.appbee.core.client.startup.StartupChain;
import com.appbee.core.client.startup.StartupLink;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.HasWidgets.ForIsWidget;

public class RemoveLoadingElementLink implements StartupLink
{

	@Override
	public void start(ForIsWidget container, StartupChain chain)
	{
		DOM.removeChild(RootPanel.getBodyElement(), RootPanel.get("loading")
				.getElement());
		chain.start(container);
	}

}
